package itsm.isperp.framework.security.encoding;

import org.apache.commons.codec.binary.Hex;
import org.apache.commons.codec.digest.DigestUtils;

/**
 * 
 * 
 * 
 * @author lizx
 * @date 2015-8-30
 * @since 1.0
 * 
 */
public class MD5Helper {

	public static String encrypt(String str) {
		return new String(Hex.encodeHex(DigestUtils.md5(str)));
	}
}
